package com.lovo.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.system.dto.PurchaseMesDto;

public interface IPurchaseMesService {

    /**
     * 初始化
     * @param curPage
     * @param pageSize
     * @param startTime
     * @param endTime
     * @param name
     * @return
     */
    IPage<PurchaseMesDto> info(int curPage,int pageSize,String startTime,String endTime,String name);

    /**
     * 添加一条入库信息后返回该条信息的id
     * @param purchaseMesDto
     * @return
     */
    int insertPurchaseMes(PurchaseMesDto purchaseMesDto);

}
